
package com.sausageking.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sausageking.client.ConsumerService.AuthType;
import com.sausageking.client.ConsumerService.MerchantCustomerInfo;
import com.sausageking.client.ConsumerService.RedeemResponse;
import com.sausageking.shared.Checkin;

public interface ConsumerServiceAsync {

  void stamp(String email, String merchant, String orderConfirmationCode,
      AsyncCallback<Checkin> callback);

  void getMerchantCustomerInfo(String userId, String merchantId,
      AsyncCallback<MerchantCustomerInfo> callback);

  void redeem(String email, String merchantId, AuthType authType,
      String authValue, AsyncCallback<RedeemResponse> asyncCallback);

  void signIn(String email, String password, AsyncCallback<String> callback);

  void signUp(String email, String password, AsyncCallback<String> callback);

}
